package com.xgc.server1.fallback;


import com.xgc.server1.Server1FeignClient;
import org.springframework.cloud.openfeign.FallbackFactory;

public class Server1FeignFallBack implements FallbackFactory<Server1FeignClient> {

	@Override
	public Server1FeignClient create(Throwable cause) {
		return doSomething -> "server1服务调用失败";
	}
}
